package com.fintech.third.model.facerecog;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;

public class BankCardIdentificationResponse implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 本次请求的id
	 */
	@JSONField(name="request_id")
	private String requestId;
	
	/**
	 * 状态，正常为 OK
	 */
	@JSONField(name="status")
	private String status;
	
	/**
	 * 使用file、url方式返回的图片的id
	 */
	@JSONField(name="image_id")
	private String imageId;
	
	/**
	 * 表示图片含有 exif 信息，返回值范围为 1~8 。如果图片不含 exif 信息，则不返回该字段。返回值的具体含义请参考 
	 */
	@JSONField(name="exif_orientation")
	private int exifOrientation;
	
	/**
	 * 检测结果，详情参考result 字段表
	 */
	@JSONField(name="result")
	private Result result;
	
	
	public String getRequestId() {
		return requestId;
	}


	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}


	public String getStatus() {
		return status;
	}


	public void setStatus(String status) {
		this.status = status;
	}


	public String getImageId() {
		return imageId;
	}


	public void setImageId(String imageId) {
		this.imageId = imageId;
	}


	public int getExifOrientation() {
		return exifOrientation;
	}


	public void setExifOrientation(int exifOrientation) {
		this.exifOrientation = exifOrientation;
	}


	public Result getResult() {
		return result;
	}


	public void setResult(Result result) {
		this.result = result;
	}


	public class Result implements Serializable{
		
		private static final long serialVersionUID = 1L;

		/**
		 * 银行卡卡号
		 */
		@JSONField(name="card_number")
		private String cardNumber;
		
		/**
		 * 发卡行名称
		 */
		@JSONField(name="bank_name")
		private String bankName;
		
		/**
		 * 发卡行标识代码
		 */
		@JSONField(name="bank_identification_number")
		private String bankIdentificationNumber;
		
		/**
		 * 卡片名称
		 */
		@JSONField(name="card_name")
		private String cardName;
		
		/**
		 * 卡片类型
		 */
		@JSONField(name="card_type")
		private String cardType;

		public String getCardNumber() {
			return cardNumber;
		}

		public void setCardNumber(String cardNumber) {
			this.cardNumber = cardNumber;
		}

		public String getBankName() {
			return bankName;
		}

		public void setBankName(String bankName) {
			this.bankName = bankName;
		}

		public String getBankIdentificationNumber() {
			return bankIdentificationNumber;
		}

		public void setBankIdentificationNumber(String bankIdentificationNumber) {
			this.bankIdentificationNumber = bankIdentificationNumber;
		}

		public String getCardName() {
			return cardName;
		}

		public void setCardName(String cardName) {
			this.cardName = cardName;
		}

		public String getCardType() {
			return cardType;
		}

		public void setCardType(String cardType) {
			this.cardType = cardType;
		}
	}
}
